<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <script src="../../node_modules/art-template/lib/template-web.js"></script>
    <script type="text/template" id="tpl">
        hello {{name}}
    </script>

    <script>
        var ret = template('tpl', {
            name: 'jack'
        })

        console.log(ret);
    </script>
</body> 
</html>